# -*- coding:utf-8 -*-
# Author:Ami
# @Time    : 2018/12/2 10:44

class AmiException(Exception):
    def __init__(self, msg):
        self.msg = msg


try:
    raise AmiException("数据库连不上")
except AmiException as e:
    print(e)
